/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: NavigationDecorator.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/5 下午3:13
 * LastModified: 2020/03/05 15:13:05
 */

package com.qolome.knowledge.design.pattern.decorator.demo;

import java.util.Set;

/**
 * @author Qolome
 * @version V1.0
 * @Description 导航条装饰器
 * @date 2020年 03月05日 15:13:26
 */
public class NavigationDecorator extends Navigation{

    private Navigation navigation;
    public NavigationDecorator(Navigation navigation){
        this.navigation = navigation;
    }

    @Override
    protected Set<String> getNavigation() {
        return this.navigation.getNavigation();
    }
}
